package com.hospital.pharmacy.dao;

import com.hospital.pharmacy.entity.MedicineType;
import com.hospital.pharmacy.entity.MedicineTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MedicineTypeMapper {
    long countByExample(MedicineTypeExample example);

    int deleteByExample(MedicineTypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MedicineType record);

    int insertSelective(MedicineType record);

    List<MedicineType> selectByExample(MedicineTypeExample example);

    MedicineType selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MedicineType record, @Param("example") MedicineTypeExample example);

    int updateByExample(@Param("record") MedicineType record, @Param("example") MedicineTypeExample example);

    int updateByPrimaryKeySelective(MedicineType record);

    int updateByPrimaryKey(MedicineType record);
}